package com.cloudwise.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * (EducationType)表实体类
 *
 * @author makejava
 * @since 2022-01-22 17:34:37
 */
@SuppressWarnings("serial")
@TableName("tbl_education_type")
public class EducationType extends Model<EducationType> {
   @TableId(value = "id" ,type = IdType.AUTO)
    private Integer id;
    //教学类型
    private String educationType;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEducationType() {
        return educationType;
    }

    public void setEducationType(String educationType) {
        this.educationType = educationType;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    public Serializable pkVal() {
        return this.id;
    }
    }

